package com.gxc.service;

import com.gxc.entity.User;
import com.gxc.entity.UserDto;

/**
 * UserService.
 *
 * @author 宫新程
 * @since 2019/3/21 19:21
 */
public interface UserService {

  /**
   * 使用User实体接收 做新增或者更新操作.
   *
   * @param user Entity
   * @return Object
   */
  Object updateEntityUser(User user);

  /**
   * Service 层 new 一个新的Entity.
   *
   * @return Object
   */
  Object updateServiceUser();

  Object updateDaoUser(UserDto userDto);
}
